package com.business.systemmanage.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜品分类
 * </p>
 *
 * @author sixDog
 * @since 2019-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ItemClass extends itemClassFather implements Serializable {

    private static final long serialVersionUID = 1L;

    private static Map<String,String> map = new HashMap<String,String>(){{
        System.out.println("子类静态变量初始化");
    }};

    private  Map<String,String> map1 = new HashMap<String,String>(){{
        System.out.println("子类普通变量初始化");
    }};



    public ItemClass(){
        System.out.println("子类构造函数执行");
    }

    {
        System.out.println("子类普通代码块初始化");
    }
    static{
        System.out.println("子类静态代码块执行");
    }


    /**
     * 菜品分类id
     */
    private Long id;

    /**
     * organ ID
     */
    private String organId;

    /**
     * 菜品类别名称
     */
    private String itemClassName;

    /**
     * 菜品类别编码
     */
    private String itemClassCode;

    /**
     * 菜品类别上级关联id
     */
    private Long classFatherId;

    /**
     * 是否根节点:1是 ，2否
     */
    private Long isParent;

    /**
     * 是否售卖:1是，0否
     */
    private Integer isSaling;

    /**
     * 菜品顺序
     */
    private Long itemClassOrder;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人员
     */
    private LocalDateTime createOperator;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;

    /**
     * 修改人员
     */
    private LocalDateTime modifyOperator;

    /**
     * 是否有效 1是 0否
     */
    private Integer status;


}
